USE HorseRaceTracker

if not exists (select * from master.dbo.syslogins where loginname = N'mscop')
BEGIN
	CREATE LOGIN mscop WITH PASSWORD = 'mscop',       CHECK_POLICY = OFF
END



exec sp_grantdbaccess 'mscop'

exec sp_addrolemember 'db_owner', 'mscop'